package mathMethod;

import com.sun.xml.internal.bind.v2.model.core.ClassInfo;

public class TailingZeroes {

    /**
     * LeetCode T172 阶乘后的零
     * 总结：5的数量
     * @param args
     */
    public static void main(String[] args) {



    }

    public int trailingZeroes(int n) {
        return n == 0? 0 : n / 5 + trailingZeroes(n / 5);
    }
}
